CC = g++
OPTIONS = -Wfatal-errors -Werror -Wall -Wextra -std=c++98 -pedantic-errors -g0 -O3
MAIN = ircc

all: $(MAIN)

objetos: *.cpp
	$(CC) $(OPTIONS) -c *.cpp

$(MAIN): objetos
	$(CC) $(OPTIONS) *.o -o $(MAIN) -lpthread

clean:
		rm -f $(MAIN) *.o

